import service from "../utiles/request/index";

export function holiday_list(payload:any={}){
    return service.get('/holiday/holidaylist',payload)
}
// 添加信息
export function holiday_add(payload = {}){
    return service.post('/holiday/holidayadd',payload)
}

//删除信息
export function holiday_delete(payload:any = {}){
    return service.get('/holiday/holidaydelete/'+payload.id,payload)
}

//编辑信息
export function holiday_bianji(payload:any = {}){
    return service.post('/holiday/holidayupdate',payload)
}